from fastapi import FastAPI

from core.config import router
import api.file_apis
app = FastAPI()

# 注册API路由
app.include_router(router)

if __name__ == '__main__':
    import uvicorn
    uvicorn.run(app, host='localhost', port=8001)